<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      >
    <ui:composition template="/WEB-INF/layout/standard.xhtml">
        <ui:define name="title">openId popup return ...</ui:define>
        <ui:define name="content">
            <p>
                This popup should close automatically in a second after reporting your
                credentials to the parent login window ...
            </p>
            <script type="text/javascript" language="JavaScript">
                //<![CDATA[
                littleware.littleYUI.bootstrap().use( 'node', 'node-base', 'littleware-littleId', function(Y) {
                        var loginData = Y.littleware.littleId.CalbackData.buildFromHref( window.location.href )
                        window.opener.littleware.littleId.LoginProcess.handleProviderCallback( loginData );
                        window.close();
                });
                // ]]>
            </script>

        </ui:define>
    </ui:composition>
</html>

